package com.yangming.service;

import com.github.binarywang.wxpay.bean.order.WxPayMpOrderResult;
import com.github.binarywang.wxpay.bean.request.WxPayUnifiedOrderRequest;
import com.github.binarywang.wxpay.exception.WxPayException;
import com.yangming.common.wxpay.WXPayException;

/**
 * 支付接口
 * @author PengShuiMing
 * @create 2018-09-11
 **/
public interface IPayService {
    /**
     * 创建订单参数
     * @return
     */
    WxPayMpOrderResult weChatCreateOrder(WxPayUnifiedOrderRequest request, Integer supplyId, Integer serviceId) throws WxPayException, WXPayException;
}
